<%--
    Document   : menu
    Created on : 30/09/2012, 11:43:29 AM
    Author     : Vanie Torres

--%>

<%@taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@taglib uri="http://richfaces.org/rich" prefix="rich"%>

<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Menu</title>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/generic.js"></script>
<link type="text/css" rel="stylesheet" href="<%=request.getContextPath()%>/css/default.css"/>
</head>
<body>
    <h:form>
        <rich:toolBar>
            <rich:dropDownMenu>
                <f:facet name="label">
                    <h:panelGroup>
                        <h:graphicImage id="mnuFormacion" onclick="loadPageMenu('#{facesContext.externalContext.requestContextPath}/faces/mantenimiento/registroAdmFormacion.jsp')" value="/img/iconos/activos.png"/>
                    </h:panelGroup>
                </f:facet>
            </rich:dropDownMenu>
            
            <rich:dropDownMenu>
                <f:facet name="label">
                    <h:panelGroup>
                        <h:graphicImage id="mnuEvaluacion" onclick="loadPageMenu('#{facesContext.externalContext.requestContextPath}/faces/mantenimiento/registroAdmEvaluacion.jsp')" value="/img/iconos/productos.png"/>
                    </h:panelGroup>
                </f:facet>
            </rich:dropDownMenu>
            <rich:dropDownMenu>
                <f:facet name="label">
                    <h:panelGroup>
                        <h:graphicImage id="mnuReportes" onclick="loadPageMenu('#{facesContext.externalContext.requestContextPath}/faces/reportes/consultarReportes.jsp')" value="/img/iconos/reportes.png"/>
                    </h:panelGroup>
                </f:facet>
            </rich:dropDownMenu>
            <rich:dropDownMenu>
                <f:facet name="label">
                    <h:panelGroup>
                        <h:graphicImage id="mnuPerfil" onclick="loadPageMenu('#{facesContext.externalContext.requestContextPath}/faces/mantenimiento/registroAdmPerfil.jsp')" value="/img/iconos/responsable.png"/>
                    </h:panelGroup>
                </f:facet>
            </rich:dropDownMenu>
            <rich:dropDownMenu>
                <f:facet name="label">
                    <h:panelGroup style="display:block; text-align:center">
                        <h:graphicImage id="mnuJugador" onclick="loadPageMenu('#{facesContext.externalContext.requestContextPath}/faces/mantenimiento/registroAdmPersona.jsp')" value="/img/iconos/colaborador.png"/>
                    </h:panelGroup>
                </f:facet>
            </rich:dropDownMenu>
         </rich:toolBar>
    </h:form>
</body>
</html>
